Deep convolutional neural network model for bad code smells detection based on oversampling method
نویسندگان
چکیده
Code <span>smells refers to any symptoms or anomalies in the source code that shows violation of design principles implementation. Early detection bad smells improves software quality. Nowadays several artificial neural network (ANN) models have been used for different topics engineering: defect prediction, vulnerability detection, and clone detection. It is not necessary know data when using ANN but require large training sets. Data imbalance main challenge intelligence techniques detecting smells. To overcome these challenges, objective this study presents deep convolutional (D-CNN) model with synthetic minority over-sampling technique (SMOTE) detect based on a set Java projects. We considered four code-smell datasets which are God class, feature envy long method results were compared performance measures. Experimental show proposed oversampling can provide better prediction be further improved trained more datasets. Moreover, epochs hidden layers help increase accuracy model.</span>
منابع مشابه
Finding Bad Code Smells with Neural Network Models
Received May 4, 2017 Revised Jun 28, 2017 Accepted Jul 14, 2017 Code smell refers to any symptom introduced in design or implementation phases in the source code of a program. Such a code smell can potentially cause deeper and serious problems during software maintenance. The existing approaches to detect bad smells use detection rules or standards using a combination of different object-orient...
متن کاملAn efficient method for cloud detection based on the feature-level fusion of Landsat-8 OLI spectral bands in deep convolutional neural network
Cloud segmentation is a critical pre-processing step for any multi-spectral satellite image application. In particular, disaster-related applications e.g., flood monitoring or rapid damage mapping, which are highly time and data-critical, require methods that produce accurate cloud masks in a short time while being able to adapt to large variations in the target domain (induced by atmospheric c...
متن کاملPedestrian Detection with Deep Convolutional Neural Network
The problem of pedestrian detection in image and video frames has been extensively investigated in the past decade. However, the low performance in complex scenes shows that it remains an open problem. In this paper, we propose to cascade simple Aggregated Channel Features (ACF) and rich Deep Convolutional Neural Network (DCNN) features for efficient and effective pedestrian detection in comple...
متن کاملA Radon-based Convolutional Neural Network for Medical Image Retrieval
Image classification and retrieval systems have gained more attention because of easier access to high-tech medical imaging. However, the lack of availability of large-scaled balanced labelled data in medicine is still a challenge. Simplicity, practicality, efficiency, and effectiveness are the main targets in medical domain. To achieve these goals, Radon transformation, which is a well-known t...
متن کاملGrading code quality of programming assignments based on bad smells
Programming assignments (PAs) are very important to many computer science courses. Traditionally, the grading of a programming assignment is based mainly on the correctness of the code. However, from the view point of software engineering education, such a grading does not encourage students to develop code that is easy to read and maintain. Thus, the authors created a grading policy that consi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Indonesian Journal of Electrical Engineering and Computer Science
سال: 2022
ISSN: ['2502-4752', '2502-4760']
DOI: https://doi.org/10.11591/ijeecs.v26.i3.pp1725-1735